package com.quanyan.stadium.biz.impl;

import com.quanyan.stadium.biz.ConfigDao;
import com.quanyan.stadium.entity.TbStadiumProperty;
import com.quanyan.stadium.mapper.TbStadiumPropertyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by Administrator on 2016/7/26.
 */
@Service
public class ConfigDaoImpl implements ConfigDao {

    @Autowired
    private TbStadiumPropertyMapper tbStadiumPropertyMapper;

    @Override
    public TbStadiumProperty selectConfigInfo(String key) {
        return tbStadiumPropertyMapper.selectByPrimaryKey(key);
    }
}
